import request from '@/utils/request'

export function getCompanyList(data){
    return request({
        url:'/companylist',
        method:'get',
        params:data
    });
}

export function editCompany(data){
    return request({
       url:'/editcompany',
       method:'post',
       data:qs.stringify(data)
    });
}

export function getCompanyInfo(data){
    return request({
       url:'/companyinfo',
       method:'get',
       params:data
    });
}

export function delCompany(data){
   return request({
      url:'/delcompany',
      method:'get',
      params:data
   });
}
